diff options
Diffstat (limited to 'latex-beamer [disowned]')
-rw-r--r-- | latex-beamer [disowned]/PKGBUILD | 24 | ||||
-rw-r--r-- | latex-beamer [disowned]/latex-beamer.install | 4 |
2 files changed, 28 insertions, 0 deletions
diff --git a/latex-beamer [disowned]/PKGBUILD b/latex-beamer [disowned]/PKGBUILD new file mode 100644 index 0000000..f279d7e --- /dev/null +++ b/latex-beamer [disowned]/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org> +# Contributor: Daniel Ehlers <danielehlers@mindeye.net> + +pkgname=latex-beamer +pkgver=3.42 +pkgrel=1 +pkgdesc='Beamer is a LaTeX class for creating slides for presentations.' +arch=('any') +url='https://github.com/josephwright/beamer' +license=('GPL') +install='latex-beamer.install' +depends=('texlive-core') +source=("https://github.com/josephwright/beamer/archive/v${pkgver}.tar.gz") +sha256sums=('6ac3708cd44638d2fb237c33e871cb1d2616d6e10597266bb1ea443341141bda') + + +package() { + cd "${srcdir}/beamer-${pkgver}" + + find . -name "*.sty" | xargs sed -i -e '/\ProvidesPackageRCS \$Header\$/ s/^/%/' + mkdir -p -- "${pkgdir}/usr/share/texmf-dist/tex/latex/beamer" + cp -r -- * "${pkgdir}/usr/share/texmf-dist/tex/latex/beamer" +} + diff --git a/latex-beamer [disowned]/latex-beamer.install b/latex-beamer [disowned]/latex-beamer.install new file mode 100644 index 0000000..cef1902 --- /dev/null +++ b/latex-beamer [disowned]/latex-beamer.install @@ -0,0 +1,4 @@ +post_install(){ + /usr/bin/texhash + /bin/true +} |